package Homework7;

public class Homework7_3_TestInterface {
    public static void main(String[] args) {
        Bamboo bamboo = new Bamboo("green");
        System.out.println("Bamboo's color is " + bamboo.getColor());
        System.out.println(bamboo.grow());
        System.out.println("Is bamboo alive? " + bamboo.isLiving());
        Hydrogenballoon hydrogenballoon = new Hydrogenballoon();
        System.out.println("Is hydrogen balloon alive? " + hydrogenballoon.isLiving());
        System.out.println("Can hydrogen balloon rise? " + hydrogenballoon.canRise());
    }
}
